package com.hh.flow.domain;

import com.hh.common.core.domain.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 结点跳转关联对象 flow_skip
 *
 * @author hh
 * @date 2023-03-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(value = "flow_skip")
public class FlowSkip extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 流程id
     */
    private Long definitionId;

    /**
     * 结点id
     */
    private Long nodeId;

    /**
     * 当前流程结点的编码
     */
    private String nowNodeCode;

    /**
     * 下一个流程结点的编码
     */
    private String nextNodeCode;

    /**
     * 跳转条件(非空情况下才做条件校验)
     */
    private String conditionValue;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Column(isLogicDelete = true)
    private String delFlag;

}
